<div class="row">
    <div class="span3 hidden-phone"></div>
    <div class="span6" id="form-login" style="margin-top: 150px;">
        <?php echo CHtml::beginForm(Yii::app()->request->requestUri,'post', array('class'=> 'form-horizontal well')); ?>
        <fieldset>
            <legend><?php echo Yii::t("app", "System login"); ?></legend>
            <?php echo CHtml::errorSummary($model, '', '', array('class'=>'flash-error text-error')); ?>
            <div class="control-group">
                <div class="control-label">
                    <label><?php echo Yii::t("app", "Username") ?></label>
                </div>
                <div class="controls">
                    <?php echo CHtml::activeTextField($model,'username', array('class'=>'input-large', 'placeholder'=>Yii::t("app", "Username"))) ?>
                </div>
            </div>

            <div class="control-group">
                <div class="control-label">
                    <label><?php echo Yii::t("app", "Password") ?></label>
                </div>
                <div class="controls">
                    <?php echo CHtml::activePasswordField($model,'password', array('class'=>'input-large', 'placeholder'=>Yii::t("app", "Password"))) ?>
                </div>
            </div>

            <div class="control-group">
                <div class="controls">
                    <?php echo CHtml::submitButton(Yii::t("app", "Login"), array('class'=>'btn btn-large btn-primary')); ?>
                </div>
            </div>
        </fieldset>
        <?php echo CHtml::endForm(); ?>
    </div>
    <div class="span3 hidden-phone"></div>
</div>